home *** CD-ROM | disk | FTP | other *** search
/ Max Special: Max Gallery / Max Special Gallery.iso / pc / ascens16.dir / 00028.ls < prev    next >
Encoding:
Text File  |  1997-04-03  |  1.2 KB  |  56 lines

  1. on exitFrame
  2.   global ascens_movieToGo, controlsAreActive
  3.   set controlsAreActive to 0
  4.   if chars(ascens_movieToGo, 1, 4) = "GALL" then
  5.     cleanUp()
  6.     puppetSound(0)
  7.     updateStage()
  8.     puppetSound(1, "ascensore")
  9.     updateStage()
  10.     if not is8Bit() then
  11.       go(1, "GALL16.DIR")
  12.     else
  13.       go(1, "GALL8.DIR")
  14.     end if
  15.   else
  16.     if chars(ascens_movieToGo, 1, 4) = "STAR" then
  17.       puppetSound(0)
  18.       updateStage()
  19.       if not is8Bit() then
  20.         go("STAR16_TO")
  21.       else
  22.         if isWindows() then
  23.           go("STAR8_TOW")
  24.         else
  25.           go("STAR8_TO")
  26.         end if
  27.       end if
  28.     else
  29.       if ascens_movieToGo = "FOTOGRAF.DIR" then
  30.         if isWindows() then
  31.           go("FOTOGRAF_TOW")
  32.         else
  33.           go("FOTOGRAF_TO")
  34.         end if
  35.       else
  36.         if ascens_movieToGo = "MENUAG.DIR" then
  37.           if isWindows() then
  38.             go("MENUAG_TOW")
  39.           else
  40.             go("MENUAG_TO")
  41.           end if
  42.         else
  43.           if ascens_movieToGo = "CREDITS.DIR" then
  44.             gDisabilitaTutto(2, 10)
  45.             if isWindows() then
  46.               go("CREDITSW")
  47.             else
  48.               go("CREDITS")
  49.             end if
  50.           end if
  51.         end if
  52.       end if
  53.     end if
  54.   end if
  55. end
  56.